package com.lxmes.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 结算规则对象 nc_jiesuan_rules
 * 
 * @author zhangzhiyu
 * @date 2022-11-29
 */
public class NcJiesuanRules extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 公司id */
    @Excel(name = "公司id")
    private String tenantId;

    /** 类型 */
    @Excel(name = "类型")
    private String type;

    /** 仓库代码 */
    @Excel(name = "仓库代码")
    private String warehouseCode;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String warehouseName;

    /** 出库类型 */
    @Excel(name = "出库类型")
    private String chukuType;

    /** 入库类型 */
    @Excel(name = "入库类型")
    private String rukuType;

    /** 出库仓库代码 */
    @Excel(name = "出库仓库代码")
    private String ckCode;

    /** 出库仓库名称 */
    @Excel(name = "出库仓库名称")
    private String ckName;

    /** 入库仓库代码 */
    @Excel(name = "入库仓库代码")
    private String rkCode;

    /** 入库仓库名称 */
    @Excel(name = "入库仓库名称")
    private String rkName;

    /** 供应商代码 */
    @Excel(name = "供应商代码")
    private String supplierCode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 制造商代码 */
    @Excel(name = "制造商代码")
    private String manufacturerCode;

    /** 制造商名称 */
    @Excel(name = "制造商名称")
    private String manufacturerName;

    /** 托管状态 */
    @Excel(name = "托管状态")
    private String tgState;

    /** 结算控制-是否结算  是/否 */
    @Excel(name = "结算控制-是否结算  是/否")
    private String isJiesuan;

    /** 结算周期 */
    @Excel(name = "结算周期")
    private String jsZq;

    /** 月结算日 */
    @Excel(name = "月结算日")
    private String jsDay;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTenantId(String tenantId) 
    {
        this.tenantId = tenantId;
    }

    public String getTenantId() 
    {
        return tenantId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setWarehouseCode(String warehouseCode) 
    {
        this.warehouseCode = warehouseCode;
    }

    public String getWarehouseCode() 
    {
        return warehouseCode;
    }
    public void setWarehouseName(String warehouseName) 
    {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseName() 
    {
        return warehouseName;
    }
    public void setChukuType(String chukuType) 
    {
        this.chukuType = chukuType;
    }

    public String getChukuType() 
    {
        return chukuType;
    }
    public void setRukuType(String rukuType) 
    {
        this.rukuType = rukuType;
    }

    public String getRukuType() 
    {
        return rukuType;
    }
    public void setCkCode(String ckCode) 
    {
        this.ckCode = ckCode;
    }

    public String getCkCode() 
    {
        return ckCode;
    }
    public void setCkName(String ckName) 
    {
        this.ckName = ckName;
    }

    public String getCkName() 
    {
        return ckName;
    }
    public void setRkCode(String rkCode) 
    {
        this.rkCode = rkCode;
    }

    public String getRkCode() 
    {
        return rkCode;
    }
    public void setRkName(String rkName) 
    {
        this.rkName = rkName;
    }

    public String getRkName() 
    {
        return rkName;
    }
    public void setSupplierCode(String supplierCode) 
    {
        this.supplierCode = supplierCode;
    }

    public String getSupplierCode() 
    {
        return supplierCode;
    }
    public void setSupplierName(String supplierName) 
    {
        this.supplierName = supplierName;
    }

    public String getSupplierName() 
    {
        return supplierName;
    }
    public void setManufacturerCode(String manufacturerCode) 
    {
        this.manufacturerCode = manufacturerCode;
    }

    public String getManufacturerCode() 
    {
        return manufacturerCode;
    }
    public void setManufacturerName(String manufacturerName) 
    {
        this.manufacturerName = manufacturerName;
    }

    public String getManufacturerName() 
    {
        return manufacturerName;
    }
    public void setTgState(String tgState) 
    {
        this.tgState = tgState;
    }

    public String getTgState() 
    {
        return tgState;
    }
    public void setIsJiesuan(String isJiesuan) 
    {
        this.isJiesuan = isJiesuan;
    }

    public String getIsJiesuan() 
    {
        return isJiesuan;
    }
    public void setJsZq(String jsZq) 
    {
        this.jsZq = jsZq;
    }

    public String getJsZq() 
    {
        return jsZq;
    }
    public void setJsDay(String jsDay) 
    {
        this.jsDay = jsDay;
    }

    public String getJsDay() 
    {
        return jsDay;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tenantId", getTenantId())
            .append("type", getType())
            .append("warehouseCode", getWarehouseCode())
            .append("warehouseName", getWarehouseName())
            .append("chukuType", getChukuType())
            .append("rukuType", getRukuType())
            .append("ckCode", getCkCode())
            .append("ckName", getCkName())
            .append("rkCode", getRkCode())
            .append("rkName", getRkName())
            .append("supplierCode", getSupplierCode())
            .append("supplierName", getSupplierName())
            .append("manufacturerCode", getManufacturerCode())
            .append("manufacturerName", getManufacturerName())
            .append("tgState", getTgState())
            .append("isJiesuan", getIsJiesuan())
            .append("jsZq", getJsZq())
            .append("jsDay", getJsDay())
            .append("createUser", getCreateUser())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
